package com.ruoyi.exam.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 考试试卷题目选项对象 exam_paper_detail_question_result
 * 
 * @author luqian
 * @date 2024-07-10
 */
public class PaperDetailQuestionResult extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 选择图片 */
    @Excel(name = "选择图片")
    private String resultPhotos;

    /** 答案内容 */
    @Excel(name = "答案内容")
    private String resultContent;

    /** 答案解析 */
    @Excel(name = "答案解析")
    private String resultAnalyze;

    /** 试卷试题ID */
    @Excel(name = "试卷试题ID")
    private Long detailQuestionId;

    /** 是否是答案0不是，1是 */
    @Excel(name = "是否是答案0不是，1是")
    private Integer isAnswer;

    /** 用户回答答案 */
    @Excel(name = "用户回答答案")
    private String userAnswer;

    /** 是否逻辑删除:0否,1:是 */
    private Integer isDeleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setResultPhotos(String resultPhotos) 
    {
        this.resultPhotos = resultPhotos;
    }

    public String getResultPhotos() 
    {
        return resultPhotos;
    }
    public void setResultContent(String resultContent) 
    {
        this.resultContent = resultContent;
    }

    public String getResultContent() 
    {
        return resultContent;
    }
    public void setResultAnalyze(String resultAnalyze) 
    {
        this.resultAnalyze = resultAnalyze;
    }

    public String getResultAnalyze() 
    {
        return resultAnalyze;
    }
    public void setDetailQuestionId(Long detailQuestionId) 
    {
        this.detailQuestionId = detailQuestionId;
    }

    public Long getDetailQuestionId() 
    {
        return detailQuestionId;
    }
    public void setIsAnswer(Integer isAnswer) 
    {
        this.isAnswer = isAnswer;
    }

    public Integer getIsAnswer() 
    {
        return isAnswer;
    }
    public void setUserAnswer(String userAnswer) 
    {
        this.userAnswer = userAnswer;
    }

    public String getUserAnswer() 
    {
        return userAnswer;
    }
    public void setIsDeleted(Integer isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() 
    {
        return isDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("resultPhotos", getResultPhotos())
            .append("resultContent", getResultContent())
            .append("resultAnalyze", getResultAnalyze())
            .append("detailQuestionId", getDetailQuestionId())
            .append("isAnswer", getIsAnswer())
            .append("userAnswer", getUserAnswer())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("isDeleted", getIsDeleted())
            .toString();
    }
}
